package org.dr.st_docker.prototype;


import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class main {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("bean.xml");
         MyApplicationContextAwareBean mcb = ctx.getBean(MyApplicationContextAwareBean.class);
        System.out.println(mcb.process("发送信息"));
        System.out.println(mcb.process("激活"));
        System.out.println(mcb.process("添加"));


    }

}
